package com.xoa.service.sysWords;

import com.xoa.model.sysWords.SysWords;
import com.xoa.util.ToJson;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;


/**
 *
 * @ClassName (类名):  SysWordsService
 * @Description(简述): 敏感词模块接口
 * @author(作者):      朱新元
 * @date(日期):        2018-4-10
 */
@Service
public interface SysWordsService {
    //增加敏感词
    ToJson<SysWords> addSysWords(HttpServletRequest request,SysWords sysWords);
    //根据id删除记录
    ToJson<SysWords> delSysWordsById(HttpServletRequest request,Integer id);
    //修改
    ToJson<SysWords> updateSysWords(HttpServletRequest request,SysWords sysWords);
    //根据id获取记录
    ToJson<SysWords> getSysWordsInforById(HttpServletRequest request,Integer id);
    //获取列表
    ToJson<SysWords> getSysWords(Integer page, Integer pageSize, boolean useFlag, HttpServletRequest request, SysWords sysWords);

}
